<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="paramServlet" method="get">
        用户名:<input type="text" name="username"/>
        <br>
        密&nbsp;&nbsp;码:<input type="password" name="psw"/>
        <br>

        <input type="checkbox" name="hobby" value="comment"/>爱评论
        <input type="checkbox" name="hobby" value="study"/>爱学习
        <input type="checkbox" name="hobby" value="16k"/>拿高薪
        <input type="submit" value="提交数据"/>
    </form>
</body>
</html>